package com.mls.fivedistrict.entity.response;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.mls.fivedistrict.pojo.GUser;
import com.mls.fivedistrict.pojo.User;

import java.util.Date;

/**
 * Created by chenxiuxiang on 2018/5/29.
 */
public class UserResponse  {
    private Long id;

    private String username;


    private String password;

    private String phone;

    private String nickname;

    private String realname;

    private String email;

    private String wx;

    private String qq;

    private String logo;

    private String type;

    private Boolean isEnable;

    private Boolean isLock;

    private Boolean isDelete;

    private String createBy;

    private String updateBy;

    private Date createDate;

    private Date updateDate;

    private String invitationCode;

    private Boolean isSubscribe;

    private String walletAddress;

    private Integer gUserId;

    private Integer calculate;

    private String walletPassword;

    private Long inviterUserId;

    private Integer inviterCount;

    private Date lastActivityDate;
    private User inviterUser;

    private Integer version;

    /**
     * 是否进行人脸识别
     */
    private Boolean isFace = false;

    /**
     * 返回给APP使用是否今天是第一次登陆
     */
    private Boolean isFirstLogin = false;

    /**
     * 国盾用户
     */
    private GUser gUser;
    private boolean hasReward;

    /**
     * 是否有密码
     */
    private boolean hasPassword;

    public boolean isHasPassword() {
        return hasPassword;
    }

    public void setHasPassword(boolean hasPassword) {
        this.hasPassword = hasPassword;
    }

    public boolean isHasReward() {
        return hasReward;
    }

    public void setHasReward(boolean hasReward) {
        this.hasReward = hasReward;
    }

    public Boolean isFace() {
        return isFace;
    }

    public void setFace(Boolean face) {
        isFace = face;
    }

    public boolean isFirstLogin() {
        return isFirstLogin;
    }

    public void setFirstLogin(Boolean firstLogin) {
        isFirstLogin = firstLogin;
    }

    public User getInviterUser() {
        return inviterUser;
    }

    public void setInviterUser(User inviterUser) {
        this.inviterUser = inviterUser;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname == null ? null : nickname.trim();
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname == null ? null : realname.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getWx() {
        return wx;
    }

    public void setWx(String wx) {
        this.wx = wx == null ? null : wx.trim();
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq == null ? null : qq.trim();
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo == null ? null : logo.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public Boolean getIsEnable() {
        return isEnable;
    }

    public void setIsEnable(Boolean isEnable) {
        this.isEnable = isEnable;
    }

    public Boolean getIsLock() {
        return isLock;
    }

    public void setIsLock(Boolean isLock) {
        this.isLock = isLock;
    }

    public Boolean getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Boolean isDelete) {
        this.isDelete = isDelete;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy == null ? null : updateBy.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getInvitationCode() {
        return invitationCode;
    }

    public void setInvitationCode(String invitationCode) {
        this.invitationCode = invitationCode == null ? null : invitationCode.trim();
    }

    public Boolean getIsSubscribe() {
        return isSubscribe;
    }

    public void setIsSubscribe(Boolean isSubscribe) {
        this.isSubscribe = isSubscribe;
    }

    public String getWalletAddress() {
        return walletAddress;
    }

    public void setWalletAddress(String walletAddress) {
        this.walletAddress = walletAddress == null ? null : walletAddress.trim();
    }

    public Integer getgUserId() {
        return gUserId;
    }

    public void setgUserId(Integer gUserId) {
        this.gUserId = gUserId;
    }

    public Integer getCalculate() {
        return calculate;
    }

    public void setCalculate(Integer calculate) {
        this.calculate = calculate;
    }

    public String getWalletPassword() {
        return walletPassword;
    }

    public void setWalletPassword(String walletPassword) {
        this.walletPassword = walletPassword == null ? null : walletPassword.trim();
    }

    public Long getInviterUserId() {
        return inviterUserId;
    }

    public void setInviterUserId(Long inviterUserId) {
        this.inviterUserId = inviterUserId;
    }

    public Integer getInviterCount() {
        return inviterCount;
    }

    public void setInviterCount(Integer inviterCount) {
        this.inviterCount = inviterCount;
    }

    public Date getLastActivityDate() {
        return lastActivityDate;
    }

    public void setLastActivityDate(Date lastActivityDate) {
        this.lastActivityDate = lastActivityDate;
    }

    public GUser getgUser() {
        return gUser;
    }

    public void setgUser(GUser gUser) {
        this.gUser = gUser;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }
}
